

<script>
$(function(){
		$('#{{datagrid_id}}').datagrid({
		    columns:[[
		
		
		{field:'accountid',title:'交易账户',width:100},
		{field:'name',title:'姓名',width:35},
		{field:'identify',title:'身份证号',width:100},
		
		{field:'tradeTime',title:'交易时间',width:89},
		{field:'tradeAmount',title:'交易金额',width:39},
        {field:'tradeType',title:'交易类型',width:30},
        {field:'loginname1',title:'操作员',width:80},
        {field:'status',title:'交易状态',width:39},
        {field:'desc',title:'交易描述',width:100}

	]],
	toolbar:[{
		id:'',
		text:'历史处理记录',
		iconCls:'',
		handler:function(){
			
		}},'-','-'
	],
		    onLoadError: function() {
		    	$.jBox.tip('没有数据或根据搜索条件查不到相关数据', 'info');
		    	$("div.datagrid-body").css("height",0).find("table > tbody").empty();
		    	$("div.datagrid-view").css("height",'23px');
		    }
		});
       $('#{{datagrid_id}}s').searchbox({

            width:300,  
            searcher:function(value,name){
            	var result = $('#{{datagrid_id}}').datagrid('reload', {
        			query_key: name,
        			query_value: value
        		});
            },
            menu:'#{{datagrid_id}}mm',  
            prompt:'请输入搜索条件'  
        });
	});
</script>
<div style="padding:20px;overflow:hidden;" class="ajust_height">
<div style="padding-bottom:20px;overflow:hidden;">
		<input id="{{datagrid_id}}s"></input>
		<div id="{{datagrid_id}}mm" style="width:120px">
			<div name="account" iconCls="icon-ok">额度账号</div>
			<div name="name" iconCls="icon-ok">姓名</div>
		</div>
	</div>
	 <table id="{{datagrid_id}}"  striped="true" url="/lottery/accounts/history_record"
		pagination="true" iconCls="icon-save" url="" fitColumns="true" singleSelect="false"
		rownumbers="true" pageSize="15"   pageList=" [5,10,15,20,25]">
	 </table>
 </div>
		
			
				
			
			


    












 



	

		   


    













 



	

